package ricky.events
{
	import flash.events.Event;
	
	import ricky.animate.AnimSprite;
	
	/**
	 * 动画事件
	 */
	public class AnimEvent extends Event
	{
		
		/**
		 * 动画关键桢事件
		 */
		public static const Anim_Effect:String="anim_Effect";
		
		/**
		 * 动画最后桢事件
		 */
		public static const Anim_End:String="anim_End";
		
		
		public function AnimEvent(type:String,animSprit:AnimSprite,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		
		private var _animSprit:AnimSprite;

		/**
		 * 动画对象
		 */
		public function get animSprit():AnimSprite
		{
			return _animSprit;
		}

	}
	
}